﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SimpleLibraryWebForm._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <table border=1>
    <tr>
    <td colspan=2><font size="+4">Check Out a book</font></td>
    </tr>
    <tr>
    <td>
    <asp:ListView ID="lstMembers" runat="server" OnItemCommand="lstMembers_ItemCommand"
        ItemPlaceholderID="itemPlaceholder">

    <LayoutTemplate>            
        
        <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
        
    </LayoutTemplate>
       

    <ItemTemplate>
        <table>
        <tr>
        <td>
            <asp:LinkButton ID="UserName" CommandArgument=<%# Eval("MemberId") %> runat="server" Text=<%# Eval("LastName") + ", " + Eval("FirstName") %>></asp:LinkButton>
        </td>
        </tr>
        </table>
    </ItemTemplate>

    </asp:ListView>
    </td>
    <td valign=top align=center>
    <asp:ListBox ID="lbBookList" runat="server" width="200px" Height="200px"></asp:ListBox><br />
    <asp:Button ID="btnReturn" runat="server" Text="return" />
    </td>
    
    
    </tr>
    
    </table>
    
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <p>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/XMLWizard.aspx">XML 
        Wizard</asp:HyperLink>
    </p>
    </form>
</body>
</html>
